body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
}

.sidebar-container {
    background-color: #f0f0f0;
    width: 150px;
    min-width: 150px;
    height: 100vh;
    overflow: auto;
    padding: 10px;
    box-sizing: border-box;
}

.sidebar time {
    font-size: small;
}

.chat-container {
    flex-grow: 1;
    margin: 20px;
    height: calc(100vh - 40px);
    overflow-y: auto;
}

.history-item {
    cursor: pointer;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.history-item h4 {
    margin: 5px auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.history-item:hover {
    background-color: #e9e9e9;
}

#generated-text {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button,
select {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 10px;
}

button:hover {
    background-color: #0056b3;
}

#response-section .pre {
    width: auto;
    line-break: anywhere;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 20px;
    border: 1px solid #ccc;
}

.chat-bubble-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.chat-bubble {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    word-wrap: break-word;
    white-space: break-spaces;
}

.ask-input {
    display: flex;
    margin-bottom: 10px;
    width: 100%;
}

.ask-input button,
select {
    width: 80%;
}

.operation {
    width: 100%;
    display: flex;
    flex-direction: column;
}